import request from '@/utils/request'
import BaseUrl from '../BaseUrl'

const systemPath = BaseUrl.getDefaultBaseUrl()
const modulePath = systemPath + '/profile'

export const apiProfile = {
  changePassword: function(data) {
    return request({
      url: modulePath + '/password',
      method: 'post',
      data
    })
  }
}
